|
Structured English is the use of the English language with the syntax of structured programming to communicate the design of a computer program to non-technical users by breaking it down into logical steps using straightforward English words. Structured English aims to get the benefits of both the programming logic and natural language: program logic helps to attain precision, whilst natural language helps with the familiarity of the spoken word.〔"("What is Structured English" ), Wisegeek.com, retrieved 23 April 2014〕 It is the basis of some programming languages such as SQL (Structured Query Language) "for use by people who have need for interaction with a large database but who are not trained programmers".〔("Implementation of a Structured English Query Language" ) M.M. Astrahan and D.D. Chamberlain, IBM Research Division, San Jose, ACM, May 1975 (retrieved from Cleveland State University website, April 2014)〕 == Elements == Structured English is a limited form "pseudocode" and consists of the following elements: #Operation statements written as English phrases executed from the top down #Conditional blocks indicated by keywords such as IF, THEN, and ELSE #Repetition blocks indicated by keywords such as DO, WHILE, and UNTIL The following guidelines are used when writing Structured English:〔("Guidelines for Structured English in Documenting Specifications" ), Craig Borysowich, IT Toolbox, 29 April 2007〕 #All logic should be expressed in operational, conditional, and repetition blocks #Statements should be clear and unambiguous #Logical blocks should be indented to show relationship and hierarchy #Use one line per logical element, or indent the continuation line #Keywords should be capitalized #Group blocks of statements together, with a capitalized name that describes their function and end with an EXIT. #Underline words or phrases defined in a data dictionary #Mark comment lines with an asterisk 抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「Structured English」の詳細全文を読む スポンサード リンク
|